﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Framework.Command;

namespace Framework.Bus
{
    public interface ICommandBus : IBus<ICommand>
    {
        void Send<TResult>(ICommand command, Action<TResult> action = null);
        void Send(ICommand command, Action action);
    }
}
